package com.gk.javaservice.dao;

import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ToPageDao<T> {
    List<T> hasAllToPage(@Param("offset") int offset,
                         @Param("limit") int limit,
                         @Param("searchMsg") String searchMsg);
    int queryTotal(String searchMsg);
}
